# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class DmsOnlineSubSqlTask(object):

    def __init__(self, id=None, parentId=None, sqlText=None, runStatus=None, createdDate=None, finishDate=None, message=None, stardbProxy=None, proxyTaskId=None):
        """
        :param id: (Optional) 主键id。
        :param parentId: (Optional) 父任务id。
        :param sqlText: (Optional) 执行sql。
        :param runStatus: (Optional) 运行状态，CREATE("CREATE", 1),RUNNING("RUNNING", 2), SUCCESS("SUCCESS", 3), FAILED("FAILED", 4), SUSPEND("SUSPEND", 5)。
        :param createdDate: (Optional) 创建日期。
        :param finishDate: (Optional) 结束日期。
        :param message: (Optional) 执行消息。
        :param stardbProxy: (Optional) 是否为proxy任务。
        :param proxyTaskId: (Optional) 是否忽略错误。
        """

        self.id = id
        self.parentId = parentId
        self.sqlText = sqlText
        self.runStatus = runStatus
        self.createdDate = createdDate
        self.finishDate = finishDate
        self.message = message
        self.stardbProxy = stardbProxy
        self.proxyTaskId = proxyTaskId
